/**
 * 商品
 * anthor liyingqi
 *  834777203@qq.com
 */

export interface goodRequestData {
  /** 当前页码 */
  page: number,
  /** 查询条数 */
  limit: number,
  ctime: string, // 时间
  keyword: String,
  status: string,
  gid: string,
}
export interface resGoodData {
  id: number | string,
  bid: number,
  ordernum: string,
  status: number,
  name: string,
}

export type GoodResponseData = ApiResponseData<{
  count: number,
  list: resGoodData[],
}>

export interface GoodsInfo {
  Level1Class:string,
  cid:string,
  name:string,
  sldw:string,
  weight:string | number,
  midu:string | number,
  pro_color:string,
  hwlx:number | string,
  sell_price:string | number,
  qpsl:string | number,
  limit_start:string | number,
  pf_price:string | number,
  pf_price_ru:string | number,
  levelTwoClass:string,
  brand:string,
  stock:string | number,
  volume:string | number,
  fhdz:string,
  is_yf:string | number,
  sell_price_ru:string | number,
  productSpecifications:any,
  detail:string,
  video:string,
  jj_video:string,
  pics:string,
  pics_ru:string,
  xq_pics:string,
  xq_pics_ru:string,
  sd_pic:string,
  '3D':string,
  gid:string,
  zhiding:string,
  huodong:Number,
  locale:string,
  is_cg:string,
  status:string,
  params:string
}
export interface CreateGoodsInfoRequestData {
  info: GoodsInfo
 }
export interface GoodsOtherInfo {
  name:string,
  sell_price:number | string,
  pf_price:number | string,
  pro_color:string,
  volume:string | number,
  pf_price_ru:number | string,
  stock:string | number,
  weight:string | number,
  midu:string | number,
  sell_price_ru:string | number,
  qpsl:string | number,
  pics:string,
  pics_ru:string,
  video:string,
  jj_video:string,
  '3D':string,
  sd_pic:string,
  params:string,

}
export interface CreateGoodsOtherInfoRequestData {
  info: GoodsInfo,
  option: Array<GoodsOtherInfo>,
 }


export interface activityRequestData {
  gid: string,
  proid: string,
  huodong: string,
  guige_id: string,
}

export type ActivityResponseData = ApiResponseData<{
  code: number,
  msg: string,
}>

export interface topUpRequestData {
  bid: number,
  id: string,
  st: string,
}

export type TopUpResponseData = ApiResponseData<{
  code: number,
  msg: string,
}>

export interface topUpRequestData {
  bid: number,
  id: string,
  st: string,
}

export interface setstRequestData {
  // bid: number,
  status: string,
  ids: string,
}

export interface delRequestData {
  bid: number,
  ids: string,
}







